<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/mobile-header.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta content="false" id="twcClient" name="twcClient">
<meta content="" name="keywords">
<meta content="" name="description">
<title>${project.name }</title>
<link type="text/css" href="${ctxStatic }/site/themes/QiYeZhanShi/style.css" media="all" rel="stylesheet">

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
	function goUrl(url){
		location.href=url;
	}
</script>
</head>
<body>
		<a id="top"></a>
	<div id="logo"><a href="tel:${project.mobile }" title="拨打电话预约服务"><img src="${ctxUser}/project/${project.logo }" alt="${project.companyName }"/></a></div>
	<div id="nav">
		<ul>
			<li class="selected"><a style="color:#333333" href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=1')">首页</a></li>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=6')">简介</a></li>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=2')">产品</a></li>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=3')">新闻</a></li>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=7')">联系</a></li>
		</ul>
	</div>
<div class="home-slider">	
	<div class="home-slider-cnt">		
		<ul style="position: relative; width: 1600px; left: -640px; ">                                           
			                                                            
		<li index="0"><a href="#"><img src="${ctxUser}/project/${project.pic1}"></a></li><li index="1"><a href="#"><img src="${ctxUser}/project/${project.pic2}"></a></li><li index="2"><a href="#"><img src="${ctxUser}/project/${project.pic3}"></a></li><li index="3"><a href="#"><img src="${ctxUser}/project/${project.pic4}"></a></li></ul>	
	</div>	
<div class="home-slider-bar"><i index="0" class=""></i>
<i index="1" class=""></i><i index="2" class="active"></i><i index="3" class=""></i></div>
<script type="text/javascript" src="${ctxStatic }/site/themes/QiYeZhanShi/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${ctxStatic }/site/themes/QiYeZhanShi/common.js"></script>
<script>
    jQuery(document).ready(function () {
        // 图片轮播

        jQuery(".home-slider").loopSlider({

            className:"active",

            contentContainer:"ul",

            contentChildTag:"li",

            titleContainer:".home-slider-bar",

            titleChildTag:"i",

            auto:true,

            scrollTime:500

        });

        // 商品轮播

        jQuery(".home-cat-slist ul").scrollImage();



        isAllowSubmit({

            form:"form[name='searchForm']",

            inputName:"k"

        });

    });

</script>
</div>
	
	
	<div class="title"><span>产品推荐:</span></div>
	<div class="content2">
		<ul>
			<c:forEach items="${microProductList }" var="product">
				<li><a href="#"  title="${product.name }"><img src="${ctxUser}/product/${product.indexPic }"></a></li>
			</c:forEach>
		</ul>
	</div>
	<div class="more"><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=2')">查看更多&gt;&gt;&gt;</a></div>
	<div class="title"><span>新闻中心</span></div>
	<div class="content">
		<ul>
			<c:forEach items="${newsList }" var="news">
            	<c:if test="${not empty news }">
            		<li><a href="#" onclick="goUrl('${ctxMobileSite }/viewNews/${news.id }')" title="${news.title }">${news.title }</a></li>
            	</c:if>
			 </c:forEach>	
		</ul>
	</div>
	<div class="more"><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=3')">更多新闻&gt;&gt;&gt;</a></div>
	<div class="title"><span>关于${project.companyName }</span></div>
	<div class="content0">
		${project.remarks }
	</div>
	<div class="more"><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=6')">查看详细介绍&gt;&gt;&gt;</a></div>
		<div class="clear"></div>
		<div class="foot">
		<div class="copy">
			<p>版权所有 <a href="#">${project.companyName }</a> ©2010-2013</p>
		</div>
	</div>

</body></html>